#!/bin/bash
# WIPE THE WORLD!!! MUAHAHAHA. (Evil laugh)

echo "This operation will wipe the current directory of Minecraft world."
echo "(CWD: $PWD)"
read -r -p "Are you sure? [type: \"confirm\"] " response
if [[ "$response" == "confirm" ]]; then
   rm -rfv ./world ./world_nether ./world_the_end
   rm -rfv ./*.json .console_history
   rm -rfv ./logs/ ./data-storage/
   # rm -rfv ./cache/ ./libraries/ ./versions/
   rm -rfv ./plugins/squaremap/data ./plugins/squaremap/web
fi
